
<%@ page import="aiball.PlayerStats" %>
		<div id="top3-playerStats" >
			<h1>Top 3 der meisten ${label}</h1>

			<table>
				<thead>
					<tr>
						<th>Spieler</th>
						<th>Team</th>	
						<th>${label}</th>	
					</tr>
				</thead>
				<tbody>
				<%i=1%>
				<g:each in="${top3Stats}" var="player">
					<tr>
						<td><g:link controller="Player" action="showOtherTeam" id="${player?.player?.id}">${player?.player?.name}</g:link></td>
						<td><g:link controller="Team" action="showOtherTeam" id="${player?.team?.id}">${player?.team?.name}</g:link></td>
						<td>${player?.value}</td>	
					</tr>
					<%i=i+1%>
				</g:each>
				</tbody>
			</table>
		</div>
